<?php

class MVC_Dynamo_Info
{
	public $dynamo_file;
	
	public $dynamo_class;

	public function __construct( $dynamo_file = null, $dynamo_class = null )
	{
		$this->dynamo_file = $dynamo_file;
		$this->dynamo_class = $dynamo_class;
	}

	public function new_instance()
	{
		require_once( $this->dynamo_file );
		eval( '$dynamo = new ' . $this->dynamo_class . '();' );

		return $dynamo;
	}
}

?>
